import server from '../../server/api'
// 私人定制申请
const loadCompanyInfo = ({
	commit,
	state
}, params) => {

	if(state.companytyInfo){
		return;
	}
	server.post("/index/index/footer", function(res) {

		if(res.error == 0) {
			commit('setCompanyInfo', res.data[0])
		}
	})
}
export default {
	loadCompanyInfo
}